import server from "../server/index";
const getList = function() {
  return new Promise((resolve, reject) => {
    server.get("/fenlei.json").then((res) => {
      resolve(res);
    });
  });
};
const getShop = function() {
  return new Promise((resolve, reject) => {
    server.get("/list.json").then((res) => {
      resolve(res);
    });
  });
};
export { getList, getShop };
